/**
 * 景区系统入口
 * ml
 */
var App = angular.module('voluntourism', []);

App.config(require('./router'));

//平台首页
App.controller('tourIndex', require('./controllers/tourIndex'));
//下级首页
App.controller('tourIndexInside', require('./controllers/tourIndexInside'));
//查看公告
App.controller('noticeInfo', require('./controllers/noticeInfo'));
//平台通知管理列表
App.controller('noticeList', require('./controllers/noticeList'));
//公益游分配
App.controller('setSaleAllot', require('./controllers/setSaleAllot'));
//公益游分配--添加模态框
App.controller('addSaleAllot', require('./controllers/addSaleAllot'));
//公司部门名额分配
App.controller('apartSaleSet', require('./controllers/apartSaleSet'));
//公司部门名额分配--模态框
App.controller('apartSaleSetInfo', require('./controllers/apartSaleSetInfo'));
//订单列表
App.controller('volOrderList', require('./controllers/volOrderList'));
//订单统计
App.controller('orderAccountList', require('./controllers/orderAccountList'));
//分配账号
App.controller('officeinfo', require('./controllers/officeinfo'));

//directive
// App.directive('viewCell', require('./directives/viewCell'));


//内部通知管理列表
App.controller('noticeListInside', require('./controllers/noticeListInside'));
//通知编辑
App.controller('noticeEdit', require('./controllers/noticeEdit'));
//活动列表
App.controller('tourActivityList', require('./controllers/tourActivityList'));
//活动编辑/活动创建
App.controller('tourActivityEdit', require('./controllers/tourActivityEdit'));
//活动详情
App.controller('tourActivityInfo', require('./controllers/tourActivityInfo'));
//活动修改库存
App.controller('tourActivityUpdateStock', require('./controllers/tourActivityUpdateStock'));
//车辆列表
App.controller('tourBusList', require('./controllers/tourBusList'));
//修改车辆信息
App.controller('tourBusInfo', require('./controllers/tourBusInfo'));
//分配车辆
App.controller('tourSetBusSeats', require('./controllers/tourSetBusSeats'));
//下单页
App.controller('tourSaleList', require('./controllers/tourSaleList'));
//单人下单
App.controller('tourCreateOrder', require('./controllers/tourCreateOrder'));
//多人下单
App.controller('tourCreateBatchOrder', require('./controllers/tourCreateBatchOrder'));
//导入Excel
App.controller('tourAddUserBatch', require('./controllers/tourAddUserBatch'));
//导入Excel
App.controller('tourInsurance', require('./controllers/tourInsurance'));


module.exports = App;
